Export Failure for unbounded tzinfo timezone
Reported by Rick DeNatale | June 11th, 2009 @ 01:59 PM
context "bug report from Noboyuki Tomizawa" do
before(:each) do
@it = RiCal.Calendar do |cal|
cal.event do |event|
event.description = "test"
event.dtstart = "TZID=Asia/Tokyo:20090530T123000"
event.dtend = "TZID=Asia/Tokyo:20090530T123001"
end
end
end
it "should not fail" do
lambda {@it.export}.should_not raise_error
end
end
This raises an error because Tokyo stopped using daylight saving time in the 1950s. The TzInfoTimezone class was not handling the end of the chain of TZInfo::Timezone periods correctly
Comments and changes to this ticket
-
Rick DeNatale June 14th, 2009 @ 09:49 PM
- Assigned user set to Rick DeNatale
- State changed from new to resolved
Fixed in 0.6.2
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
A new icalendar data (RFC 2445) gem for Ruby which supports time zones and enumeration of occurrences